#ifndef PAUSEVIEW_H
#define PAUSEVIEW_H

#include <QGraphicsView>
class ImageItem;
class HintView;

class PauseView : public QGraphicsView
{
    Q_OBJECT
public:
    explicit PauseView(QWidget *parent = 0);
    ~PauseView()
    {
        delete m_Scene;
    }

    void mousePressEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
    void createHintView();
    void delHintView();
public:
    ImageItem*              m_hintItem;
    ImageItem*              m_bgItem;
    QGraphicsScene*         m_Scene;
    HintView*               m_hintview;
signals:
    void gamecontinue();
    void gamerestart();
    void gameback();
public slots:
    void hintback(const int& ihint);
};

#endif // PAUSEVIEW_H
